package com.ruiysoft.service.order.bean;


import java.io.Serializable;

/**
 * Date : 2018/11/10
 *
 * @author WenJialu
 */
public class OrderPlaceSkuInfoVo implements Serializable {

	private static final long serialVersionUID = 1074226323412440269L;

	private Long skuId;
	private Long spuId;
	private Integer quantity;
	private Long category;
	private Long unitPrice;
	private Long costPrice;
	private Long listPrice;
	/**
	 * 价格策略：包括是否会员价，是否虚拟货币等等
	 */
	private Integer priceStrategy;
	/**
	 * 固定虚拟币总额（至少需要支付的虚拟币：针对现金+固定虚拟币的商品）
	 */
	private Long virtualCoinPrice = null;

	private String imgUrl;
	private Integer status;
	private String skuName;
	private Long shopId;

	/**
	 * 经过计算后的商品总额
	 */
	private Long totalAmount;

	/**
	 * 经过计算后的总现金
	 */
	private Long totalCash;
	/**
	 * 经过计算后的虚拟币支付总额。根据会员的现有积分，进行积分最大化支付计算后的数值，并非从数据库查询出来的。
	 */
	private Long virtualCoin = null;


	public Long getSpuId() {
		return spuId;
	}

	public void setSpuId(Long spuId) {
		this.spuId = spuId;
	}

	public Long getSkuId() {
		return skuId;
	}

	public void setSkuId(Long skuId) {
		this.skuId = skuId;
	}

	public Integer getQuantity() {
		return quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public Long getCategory() {
		return category;
	}

	public void setCategory(Long category) {
		this.category = category;
	}

	public Long getUnitPrice() {
		return unitPrice;
	}

	public void setUnitPrice(Long unitPrice) {
		this.unitPrice = unitPrice;
	}

	public Long getCostPrice() {
		return costPrice;
	}

	public void setCostPrice(Long costPrice) {
		this.costPrice = costPrice;
	}

	public Long getListPrice() {
		return listPrice;
	}

	public void setListPrice(Long listPrice) {
		this.listPrice = listPrice;
	}

	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getSkuName() {
		return skuName;
	}

	public void setSkuName(String skuName) {
		this.skuName = skuName;
	}

	public Long getShopId() {
		return shopId;
	}

	public void setShopId(Long shopId) {
		this.shopId = shopId;
	}

	/**
	 * 1，纯现金或纯积分，2，固定现金+固定积分，3，积分抵现金)
	 * @return
	 */
	public Integer getPriceStrategy() {
		return priceStrategy;
	}

	/**
	 * 1，纯现金或纯积分，2，固定现金+固定积分，3，积分抵现金)
	 * @param priceStrategy priceStrategy
	 */
	public void setPriceStrategy(Integer priceStrategy) {
		this.priceStrategy = priceStrategy;
	}

	public Long getVirtualCoin() {
		return virtualCoin;
	}

	public void setVirtualCoin(Long virtualCoin) {
		this.virtualCoin = virtualCoin;
	}

	public Long getVirtualCoinPrice() {
		return virtualCoinPrice;
	}

	public void setVirtualCoinPrice(Long virtualCoinPrice) {
		this.virtualCoinPrice = virtualCoinPrice;
	}

	public Long getTotalCash() {
		return totalCash;
	}

	public void setTotalCash(Long totalCash) {
		this.totalCash = totalCash;
	}

	public Long getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(Long totalAmount) {
		this.totalAmount = totalAmount;
	}
}
